package gagak.framework.web.exception;


/*
 * @program: ce
 * @description: 异常
 * @author: houhong
 * @create: 2022-11-24 20:47
 */
public class HxWebException extends RuntimeException {


    private Integer status;

    private Integer code;

    public HxWebException(String msg) {
        super(msg);
    }


    public HxWebException(int code, String msg) {
        super(msg);
        this.code = code;
    }

    public HxWebException(int code, int status, String msg) {

        super(msg);
        this.status = status;
        this.code = code;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
}